import type { Question } from '@/types/exam';
import { basicQuestions } from './basic/basic';
import { oopQuestions } from './oop/oop';
import { coreQuestions } from './core/core';
import { advancedQuestions } from './advanced/advanced';
import { java8Questions } from './java8/java8';
import { jvmQuestions } from './jvm/jvm';
import { patternQuestions } from './pattern/pattern';

/**
 * Java所有分类题目（合并）
 */
export const javaQuestions: Question[] = [
	...basicQuestions,
	...oopQuestions,
	...coreQuestions,
	...advancedQuestions,
	...java8Questions,
	...jvmQuestions,
	...patternQuestions
];

/**
 * 导出各个分类的题目
 */
export { basicQuestions } from './basic/basic';
export { oopQuestions } from './oop/oop';
export { coreQuestions } from './core/core';
export { advancedQuestions } from './advanced/advanced';
export { java8Questions } from './java8/java8';
export { jvmQuestions } from './jvm/jvm';
export { patternQuestions } from './pattern/pattern';

